﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading.Tasks;
using TrackSystem.Entities.Extensions;

namespace TrackSystem.Entities.Dtos.Channel
{
    public class ChnUDPForCreateDto : ChnTCPForCreateDto
    {
        [Display(Name="本地IP")]
        [IP4Address]
        [Required]
        public required string localIp { get; set; }

        [Display(Name="本地端口号")]
        [Required]
        public int localPort { get; set; }
    }
}
